package com.zking.service.impl.lp;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zking.dao.domain.Post;
import com.zking.dao.mapper.lp.PostMapper;
import com.zking.service.lp.PostBasedao;

@Service
public class BasedaoPost implements PostBasedao{
	@Autowired
	PostMapper postMapper;

	@Override
	public int addPosts(Post post) {
		int i = postMapper.addPost(post);
		return i;
	}
}
